<form role="form" method="post" action="<{$act_url}>" class="form-horizontal" >
<input type="hidden" name="cid" value="<{$data.cid}>" />
			<div class="modal-header">
				<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        				<h4 class="modal-title" id="gridSystemModalLabel">设置分类</h4>
			</div>
			<div class="modal-body">
			  	<div class="form-group">
				    <label for="article-title" class="col-sm-3 control-label">显示排序：</label>
				    <div class="col-sm-8">
				      <input type="number" class="form-control" name="sort" placeholder="数字越大越靠前" value="<{$data.sort|default="0"}>">
				</div>
				</div>
				<div class="form-group">
				    <label for="article-title" class="col-sm-3 control-label"><span class="form-start">*</span>分类名称：</label>
				    <div class="col-sm-8">
				      <input value="<{$data.cname}>" maxlength="8" type="text" class="form-control" name="cname" placeholder="分类名称" required>
				</div>
				</div>
				<div class="form-group">
				    <label for="article-title" class="col-sm-3 control-label">所属分类：</label>
				    <div class="col-sm-6">
				      <select name="pid" class="form-control">
				      	<option value="0">一级分类</option>
				      	<volist name="catlist" id="vo">
				      	<option value="<{$vo.cid}>" <if condition="$vo['cid'] eq $data['pid']">selected = "selected"</if>><{$vo.cname}></option>
				      	</volist>
				      </select>
				</div>
				</div>
			  
			</div>
			<div class="modal-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
        				<button type="submit" class="btn btn-primary">保存</button>
			</div>		
		</form>